package cn.hnc.checkapi.bean;

import java.io.Serializable;

public class ConfigTypeVo implements Serializable {
   private String configType;
   private String value;

   public String getConfigType() {
      return this.configType;
   }

   public String getValue() {
      return this.value;
   }

   public void setConfigType(final String configType) {
      this.configType = configType;
   }

   public void setValue(final String value) {
      this.value = value;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ConfigTypeVo)) {
         return false;
      } else {
         ConfigTypeVo other = (ConfigTypeVo)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$configType = this.getConfigType();
            Object other$configType = other.getConfigType();
            if (this$configType == null) {
               if (other$configType != null) {
                  return false;
               }
            } else if (!this$configType.equals(other$configType)) {
               return false;
            }

            Object this$value = this.getValue();
            Object other$value = other.getValue();
            if (this$value == null) {
               if (other$value != null) {
                  return false;
               }
            } else if (!this$value.equals(other$value)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof ConfigTypeVo;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $configType = this.getConfigType();
      result = result * 59 + ($configType == null ? 43 : $configType.hashCode());
      Object $value = this.getValue();
      result = result * 59 + ($value == null ? 43 : $value.hashCode());
      return result;
   }

   public String toString() {
      return "ConfigTypeVo(configType=" + this.getConfigType() + ", value=" + this.getValue() + ")";
   }
}
